<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0063)http://115.28.87.22:8888/cooper/CooperBillItemSearchResult.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>外协明细一览表 | 管理易-广告加工制作管理软件  企业版 9.28  | 易凯软件</title>
<script src="../js/minierp.js"></script>

<link href="../css/Query.css" rel="stylesheet" type="text/css">
<link href="../css/dhtmlgoodies_calendar.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="../css/BillList.css">
<script src="../js/QueryList.js"></script>
<script src="../js/popup_ext.js"></script>
<script src="../js/dhtmlgoodies_calendar.js"></script>
<script language="javascript">
	function createPageParaStr(){
		var str="start_date="+encodeURIComponent(document.getElementById("start_date").value);
		str=str+"&end_date="+encodeURIComponent(document.getElementById("end_date").value);
		str=str+"&gath_start="+encodeURIComponent(document.getElementById("gath_start").value);
		str=str+"&gath_end="+encodeURIComponent(document.getElementById("gath_end").value);
		
		var examined="A";
		if(document.getElementById("examine1").checked){
			examined="Y";
		}else if(document.getElementById("examine2").checked){
			examined="N";
		}
		str=str+"&examined="+examined;
		
		var gathered="A";
		if(document.getElementById("gather1").checked){
			gathered="Y";
		}else if(document.getElementById("gather2").checked){
			gathered="P";
		}else if(document.getElementById("gather3").checked){
			gathered="N";
		}
		str=str+"&gathered="+gathered;
		
		var paied="A";
		if(document.getElementById("paied1").checked){
			paied="Y";
		}else if(document.getElementById("paied2").checked){
			paied="N";
		}
		str=str+"&paied="+paied;
		
		str=str+"&manager_name="+encodeURIComponent(document.getElementById("manager_name").value);
		str=str+"&lm="+encodeURIComponent(document.getElementById("lm").value);
		str=str+"&phon="+encodeURIComponent(document.getElementById("phon").value);
		str=str+"&prod="+encodeURIComponent(document.getElementById("prod").value);
		str=str+"&dep="+document.getElementById("dep").value;
		str=str+"&creater_name="+encodeURIComponent(document.getElementById("creater_name").value);
		str=str+"&est_name="+encodeURIComponent(document.getElementById("est_name").value);
		str=str+"&bill_code="+encodeURIComponent(document.getElementById("bill_code").value);
		str=str+"&coo_cont="+encodeURIComponent(document.getElementById("coo_cont").value);
		str=str+"&bb_code="+encodeURIComponent(document.getElementById("bb_code").value);
		str=str+"&make_type="+document.getElementById("make_type").value;
		str=str+"&content="+encodeURIComponent(document.getElementById("content").value);
		str=str+"&require="+encodeURIComponent(document.getElementById("require").value);
		str=str+"&ts_id="+document.getElementById("ts_id").value;
		str=str+"&order_by="+document.getElementById("order_by").value;
		str=str+"&order_sc="+document.getElementById("order_sc").value;
		
		return str;
	}
	
	function createProgramParaStr(){
		var str="start_date="+encodeURIComponent(document.getElementById("hid_start_date").value);
		str=str+"&end_date="+encodeURIComponent(document.getElementById("hid_end_date").value);
		str=str+"&gath_start="+encodeURIComponent(document.getElementById("hid_gath_start").value);
		str=str+"&gath_end="+encodeURIComponent(document.getElementById("hid_gath_end").value);
		str=str+"&examined=";
		str=str+"&gathered=";
		str=str+"&paied=";
		str=str+"&manager_name="+encodeURIComponent(document.getElementById("hid_manager_name").value);
		str=str+"&lm="+encodeURIComponent(document.getElementById("hid_lm").value);
		str=str+"&phon="+encodeURIComponent(document.getElementById("hid_phon").value);
		str=str+"&prod="+encodeURIComponent(document.getElementById("hid_prod").value);
		str=str+"&dep=";
		str=str+"&creater_name="+encodeURIComponent(document.getElementById("hid_creater_name").value);
		str=str+"&est_name="+encodeURIComponent(document.getElementById("hid_est_name").value);
		str=str+"&bill_code="+encodeURIComponent(document.getElementById("hid_bill_code").value);
		str=str+"&coo_cont="+encodeURIComponent(document.getElementById("hid_coo_cont").value);
		str=str+"&bb_code="+encodeURIComponent(document.getElementById("hid_bb_code").value);
		str=str+"&make_type=";
		str=str+"&content="+encodeURIComponent(document.getElementById("hid_content").value);
		str=str+"&require="+encodeURIComponent(document.getElementById("hid_require").value);
		str=str+"&ts_id=2";
		str=str+"&order_by=";
		str=str+"&order_sc=";
		
		return str;
	}
	function doSearch(){
		var str;
		if(IsAdvSearch){//高级
			str="search_type=1";
			if(document.getElementById("cb_cooper_date").checked){
				if(!checkDateStr(document.getElementById("start_date").value,"外协开始日期")){
					return;
				}
				if(!checkDateStr(document.getElementById("end_date").value,"外协结束日期")){
					return;
				}
				str=str+"&cb_cooper_date=1";
			}
			if(document.getElementById("cb_gath_date").checked){
				if(!checkDateStr(document.getElementById("gath_start").value,"交货开始日期")){
					return;
				}
				if(!checkDateStr(document.getElementById("gath_end").value,"交货结束日期")){
					return;
				}
				str=str+"&cb_gath_date=1";
			}
			if(document.getElementById("cb_examine").checked){
				str=str+"&cb_examine=1";
			}
			if(document.getElementById("cb_gather").checked){
				str=str+"&cb_gather=1";
			}
			
			if(document.getElementById("cb_pay").checked){
				str=str+"&cb_pay=1";
			}
			if(document.getElementById("cb_manager").checked){
				var managerName=document.getElementById("manager_name").value.trim();
				if(managerName==null || managerName==""){
					ShowAlert('提示框','请输入业务员姓名',200,100);
					return;
				}
				str=str+"&cb_manager=1";
			}
			if(document.getElementById("cb_lm").checked){
				var lm=document.getElementById("lm").value.trim();
				if(lm==null || lm==""){
					ShowAlert('提示框','请输入联系人',200,100);
					return;
				}
				str=str+"&cb_lm=1";
			}
			if(document.getElementById("cb_phon").checked){
				var phon=document.getElementById("phon").value.trim();
				if(phon==null || phon==""){
					ShowAlert('提示框','请输入电话',200,100);
					return;
				}
				str=str+"&cb_phon=1";
			}
			if(document.getElementById("cb_prod").checked){
				var prod=document.getElementById("prod").value.trim();
				if(prod==null || prod==""){
					ShowAlert('提示框','请输入材质',200,100);
					return;
				}
				str=str+"&cb_prod=1";
			}
			if(document.getElementById("cb_creater").checked){
				var createrName=document.getElementById("creater_name").value.trim();
				if(createrName==null || createrName==""){
					ShowAlert('提示框','请输入开单人姓名',200,100);
					return;
				}
				str=str+"&cb_creater=1";
			}
			if(document.getElementById("cb_est").checked){
				var estName=document.getElementById("est_name").value.trim();
				if(estName==null || estName==""){
					ShowAlert('提示框','请输入外协单位',200,100);
					return;
				}
				str=str+"&cb_est=1";
			}
			if(document.getElementById("cb_bill_code").checked){
				var billCode=document.getElementById("bill_code").value.trim();
				if(billCode==null || billCode==""){
					ShowAlert('提示框','请输入外协单号',200,100);
					return;
				}
				str=str+"&cb_bill_code=1";
			}
			if(document.getElementById("cb_coo_cont").checked){
				var cooCont=document.getElementById("coo_cont").value.trim();
				if(cooCont==null || cooCont==""){
					ShowAlert('提示框','请输入摘要',200,100);
					return;
				}
				str=str+"&cb_coo_cont=1";
			}
			if(document.getElementById("cb_bb_code").checked){
				var bbCode=document.getElementById("bb_code").value.trim();
				if(bbCode==null || bbCode==""){
					ShowAlert('提示框','请输入业务单号',200,100);
					return;
				}
				str=str+"&cb_bb_code=1";
			}
			if(document.getElementById("cb_make_type").checked){
				var makeType=document.getElementById("make_type").value;
				if(makeType==null || makeType=="" || makeType=="0"){
					ShowAlert('提示框','请选择项目类型',200,100);
					return;
				}
				str=str+"&cb_make_type=1";
			}
			if(document.getElementById("cb_dep").checked){
				var dep=document.getElementById("dep").value;
				if(dep==null || dep=="" || dep=="0"){
					ShowAlert('提示框','请选择部门',200,100);
					return;
				}
				str=str+"&cb_dep=1";
			}
			if(document.getElementById("cb_content").checked){
				var content=document.getElementById("content").value.trim();
				if(content==null || content==""){
					ShowAlert('提示框','请输入内容',200,100);
					return;
				}
				str=str+"&cb_content=1";
			}
			if(document.getElementById("cb_require").checked){
				var require=document.getElementById("require").value.trim();
				if(require==null || require==""){
					ShowAlert('提示框','请输入制作要求',200,100);
					return;
				}
				str=str+"&cb_require=1";
			}
			if(document.getElementById("cb_ts").checked){
				var tsId=document.getElementById("ts_id").value;
				if(tsId==null || tsId=="" || tsId=="0"){
					ShowAlert('提示框','请选择帐套',200,100);
					return;
				}
				str=str+"&cb_ts=1";
			}
			if(document.getElementById("cb_order").checked){
				var orderBy=document.getElementById("order_by").value;
				if(orderBy==null || orderBy==""){
					ShowAlert('提示框','请选择排序类型',200,100);
					return;
				}
				str=str+"&cb_order=1";
			}
		}else{//快速
			str="search_type=2";
			if(!checkDateStr(document.getElementById("start_date").value,"外协开始日期")){
				return;
			}
			if(!checkDateStr(document.getElementById("end_date").value,"外协结束日期")){
				return;
			}
		}
		var paraStr=createPageParaStr();
		if(paraStr!=""){
			str=str+"&"+paraStr;
		}
		window.location="../cooper/CooperBillItemSearchResult.html?"+str;
	}
	function doGo(pageIndex){
		var str=getSearchCondition();
		str=str+"&current_page="+pageIndex;
		window.location="../cooper/CooperBillItemSearchResult.html?"+str;
	}
	function getSearchCondition(){
		var searchType="1";
		var str="search_type="+searchType;
		if(searchType=="1"){//高级
			str=str+"&cb_cooper_date=1";	
			str=str+"&cb_ts=1";
			
		}else{//快速
			
		}
		var paraStr=createProgramParaStr();
		if(paraStr!=""){
			str=str+"&"+paraStr;
		}
		return str;
	}
	function doJump(pageIndex){
		if(window.event.keyCode==13){
			doGo(pageIndex);
		}
	}
	function DoubleClick(it){
		
	}
	function doCancel(){
		window.close();
	}
	function doInit(){
		Window_Onload();
		if(window.screen.availWidth>1024){
			var w=window.screen.availWidth*0.98;
			window.resizeTo(w,600);
			//居中
			var resizeWinTop=(window.screen.availHeight-600)/2;
			var resizeWinLeft=(window.screen.availWidth-w)/2;
			window.moveTo(resizeWinLeft,resizeWinTop);
		}
	}
	function checkInput(){
		if(window.event.keyCode==13){
			doSearch();
		}
	}
	function doAutoCheck(objId){
		document.getElementById(objId).checked=true;
	}
	function selectStafferName(objId,checkObjId){
		var url="../base/StafferMainForSelect.html";
		ShowIframe("选择员工",url,800,500,"selectStafferNameCallBack('"+objId+"','"+checkObjId+"')");
	}
	function selectStafferNameCallBack(objId,checkObjId){
		if(popRetVal!=null){
			var arr=popRetVal.split(";");
			document.getElementById(objId).value=arr[1];
			doAutoCheck(checkObjId);
		}
	}
	function doDownload(){
		var str=getSearchCondition();
		window.location="../cooper/CooperBillItemSearchResult.html?content_type=EXCEL&"+str;
	}
	function setDate(type){
		var d=new Date();
		var startStr="";
		var endStr="";
		if(type=="CURRENT_MONTH"){
			startStr=d.getFullYear()+"-"+(d.getMonth()+1)+"-01";
			endStr=d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate();
		}else if(type=="PREVIEW_MONTH"){
			d=new Date(d.getFullYear(),d.getMonth(),1);
			d.setDate(d.getDate()-1);
			startStr=d.getFullYear()+"-"+(d.getMonth()+1)+"-1";
			endStr=d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate();
		}else if(type=="TODAY"){
			startStr=d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate();
			endStr=d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate();
		}else if(type=="YESTERDAY"){
			d.setDate(d.getDate()-1);
			startStr=d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate();
			endStr=d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate();
		}
		document.getElementById("start_date").value=startStr;
		document.getElementById("end_date").value=endStr;
		doAutoCheck("cb_cooper_date");
	}
	function selectEstName(){
		var url="../base/EstablishmentListForSelect.html?type=COOPERATOR";
		ShowIframe("选择外协商",url,900,500,"selectEstNameCallBack()");
	}
	function selectEstNameCallBack(){
		if(popRetVal!=null){
			document.getElementById("est_name").value=popRetVal[1];
			doAutoCheck("cb_est");
		}
	}
</script>
</head>
<body oncontextmenu="return false">
<div class="Wrap"> <!-- 页面主框架 -->
    
	<div id="ListContainer" class="Container" style="width: 1282px;"><!-- 主体容器 -->
	    
	    <!-- 标题栏 -->
	    <div class="Heading BillIcon">
	        <div class="HeadingContent">
	            <h1>外协明细一览表</h1>
	            <span class="Note">查询外协业务的详细清单</span>
	        </div>
	    </div>

		<!-- 主内容 -->
		<div class="Content">
	        <!-- 筛选控件栏 -->
	        <div class="FilterBar ClearFix">
	            <div class="SearchIcon"></div>
	            <span class="fl">
	            	<table class="MoreOption" cellpadding="0" cellspacing="0">
	            		<tbody><tr><th class="c1" width="80px">
	            			<input type="checkbox" name="cb_cooper_date" id="cb_cooper_date" checked="true" style="visibility:hidden;">
	            			外协日期
	            		</th>
	            		<td width="360px">
	            			<input type="text" class="TextBox Datetime" maxlength="15" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_cooper_date&#39;);" id="start_date" name="start_date" value="2017-07-01">
			            	<img src="../images/calendar.gif" class="imgIconButton" onclick="displayCalendar(document.getElementById(&#39;start_date&#39;),&#39;yyyy-mm-dd&#39;,this,false,&#39;doAutoCheck(\&#39;cb_cooper_date\&#39;)&#39;);">
			            	<input type="hidden" id="hid_start_date" value="2017-07-01">
			            	至
			            	<input type="text" class="TextBox Datetime" maxlength="15" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_cooper_date&#39;);" id="end_date" name="end_date" value="2017-07-08">
			            	<img src="../images/calendar.gif" class="imgIconButton" onclick="displayCalendar(document.getElementById(&#39;end_date&#39;),&#39;yyyy-mm-dd&#39;,this,false,&#39;doAutoCheck(\&#39;cb_cooper_date\&#39;)&#39;);">
			            	<input type="hidden" id="hid_end_date" value="2017-07-08">
			            	<a href="javascript:setDate(&#39;CURRENT_MONTH&#39;);">本月</a>
							<a href="javascript:setDate(&#39;TODAY&#39;);">今天</a>
							<a href="javascript:setDate(&#39;YESTERDAY&#39;);">昨天</a>
							<a href="javascript:setDate(&#39;PREVIEW_MONTH&#39;);">上月</a>
	            		</td>
	            	</tr></tbody></table>
	            </span>
	            <span class="fr">
	            	<a href="javascript:;" id="lnkMoreOption">更多查询选项</a>
		  			<input type="button" value=" 查 询" onclick="doSearch();" class="buttom search-but" id="sSearchButton" name="sSearchButton">
	                <input type="button" value=" 导 出" onclick="doDownload();" class="buttom search-out" id="sDownloadButton" name="sDownloadButton">
	            </span>
				<div id="dvMoreOptionBox" class="MoreOptionBox" style="display:none;">
					<table class="MoreOption" cellpadding="0" cellspacing="0">
						<tbody><tr>
							<th class="c1" width="80px">
	                        	<input type="checkbox" name="cb_gath_date" id="cb_gath_date">
	                        	交货日期
	                        </th>
	                        <td width="260px">
	                        	<input type="text" class="TextBox Datetime" maxlength="15" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_gath_date&#39;);" id="gath_start" name="gath_start" value="">
				            	<img src="../images/calendar.gif" class="imgIconButton" onclick="displayCalendar(document.getElementById(&#39;gath_start&#39;),&#39;yyyy-mm-dd&#39;,this,false,&#39;doAutoCheck(\&#39;cb_gath_date\&#39;)&#39;);">
				            	<input type="hidden" id="hid_gath_start" value="">
				            	至
				            	<input type="text" class="TextBox Datetime" maxlength="15" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_gath_date&#39;);" id="gath_end" name="gath_end" value="">
				            	<img src="../images/calendar.gif" class="imgIconButton" onclick="displayCalendar(document.getElementById(&#39;gath_end&#39;),&#39;yyyy-mm-dd&#39;,this,false,&#39;doAutoCheck(\&#39;cb_gath_date\&#39;)&#39;);">
				            	<input type="hidden" id="hid_gath_end" value="">
	                    	</td>
	                    	<th class="c2" width="80px">
	                        	<input type="checkbox" name="cb_examine" id="cb_examine">
	                        	审核状态
	                        </th>
	                    	<td class="c2" width="250px">
	                        	<input type="radio" name="examined" id="examine1" onclick="doAutoCheck(&#39;cb_examine&#39;);" checked="true">已审核
	                        	<input type="radio" name="examined" id="examine2" onclick="doAutoCheck(&#39;cb_examine&#39;);">未审核
	                        	<input type="radio" name="examined" id="examine3" onclick="doAutoCheck(&#39;cb_examine&#39;);">全部
	                    	</td>
	                    	<th class="c3" width="80px">
			        			<input type="checkbox" name="cb_bb_code" id="cb_bb_code">
			        			业务单号
			        		</th>
			    			<td class="c3" width="180px">
			        			<input type="text" class="TextBox" maxlength="50" name="bb_code" id="bb_code" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_bb_code&#39;);" value="">
								<input type="hidden" id="hid_bb_code" value="">
			    			</td>
						</tr>
						<tr>
							<th class="c1">
	                        	<input type="checkbox" name="cb_est" id="cb_est">
	                        	外协商
	                        </th>
	                        <td class="c1">
	                        	<input type="text" class="TextBox" maxlength="50" name="est_name" id="est_name" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_est&#39;);" value="">
								<img class="imgIconButton" src="../images/make-a.gif" onclick="selectEstName();">
								<input type="hidden" id="hid_est_name" value="">
	                    	</td>
							<th class="c2">
	                        	<input type="checkbox" name="cb_gather" id="cb_gather">
	                        	收货状态
	                        </th>
	                    	<td class="c2">
	                        	<input type="radio" name="gather" id="gather1" onclick="doAutoCheck(&#39;cb_gather&#39;);" checked="true">已收完
								<input type="radio" name="gather" id="gather2" onclick="doAutoCheck(&#39;cb_gather&#39;);">未收完
								<input type="radio" name="gather" id="gather3" onclick="doAutoCheck(&#39;cb_gather&#39;);">未收货
								<input type="radio" name="gather" id="gather4" onclick="doAutoCheck(&#39;cb_gather&#39;);">全部
			    			</td>
			    			<th class="c3">
			        			<input type="checkbox" name="cb_manager" id="cb_manager">
			        			业务员
			        		</th>
			    			<td class="c3">
			    				<input type="text" class="TextBox" maxlength="15" name="manager_name" id="manager_name" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_manager&#39;);" value="">
								<img class="imgIconButton" src="../images/make-a.gif" onclick="selectStafferName(&#39;manager_name&#39;,&#39;cb_manager&#39;);">
								<input type="hidden" id="hid_manager_name" value="">
			    			</td>
			    		</tr>
						<tr>
							<th class="c1">
			        			<input type="checkbox" name="cb_lm" id="cb_lm">
			        			联系人
			        		</th>
			        		<td class="c1">
			        			<input type="text" class="TextBox" maxlength="15" name="lm" id="lm" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_lm&#39;);" value="">
								<input type="hidden" id="hid_lm" value="">
			    			</td>
			    			<th class="c2">
	                        	<input type="checkbox" name="cb_pay" id="cb_pay">
	                        	付款状态
	                        </th>
	                    	<td class="c2">
	                        	<input type="radio" name="paied" id="paied1" onclick="doAutoCheck(&#39;cb_pay&#39;);">已付完
								<input type="radio" name="paied" id="paied2" onclick="doAutoCheck(&#39;cb_pay&#39;);">未付完
								<input type="radio" name="paied" id="paied3" onclick="doAutoCheck(&#39;cb_pay&#39;);" checked="true">全部
			    			</td>
			    			<th class="c3">
			        			<input type="checkbox" name="cb_creater" id="cb_creater">
			        			开单人
			        		</th>
			    			<td class="c3">
			    				<input type="text" class="TextBox" maxlength="15" name="creater_name" id="creater_name" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_creater&#39;);" value="">
								<img class="imgIconButton" src="../images/make-a.gif" onclick="selectStafferName(&#39;creater_name&#39;,&#39;cb_creater&#39;);">
								<input type="hidden" id="hid_creater_name" value="">
			    			</td>
						</tr>
						<tr>
							<th class="c1">
			        			<input type="checkbox" name="cb_phon" id="cb_phon">
			        			电话
			        		</th>
			        		<td class="c1">
			        			<input type="text" class="TextBox" maxlength="20" name="phon" id="phon" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_phon&#39;);" value="">
								<input type="hidden" id="hid_phon" value="">
			    			</td>
							<th class="c2">
			        			<input type="checkbox" name="cb_make_type" id="cb_make_type">
			        			项目类型
			        		</th>
			        		<td class="c2">
			        			<select name="make_type" id="make_type" onfocus="doAutoCheck(&#39;cb_make_type&#39;);">
									<option value="0">==请选择==</option>
									
<option value="10">标牌</option>
<option value="11">标识</option>
<option value="109">标识标牌</option>
<option value="110">&nbsp;|--指示牌</option>
<option value="111">&nbsp;|--警示牌</option>
<option value="112">&nbsp;|--桌牌</option>
<option value="113">&nbsp;|--立牌</option>
<option value="114">&nbsp;|--展示牌</option>
<option value="115">&nbsp;|--户外标识</option>
<option value="116">广告字</option>
<option value="117">&nbsp;|--不发光立体字</option>
<option value="118">&nbsp;|--背光立体字</option>
<option value="119">&nbsp;|--发光立体字</option>
<option value="120">&nbsp;|--光树脂发光立体字</option>
<option value="121">&nbsp;|--立体发光立体字</option>
<option value="13">型材销售</option>
<option value="17">&nbsp;|--画框型材</option>
<option value="18">&nbsp;|--画框配件</option>
<option value="34">灯箱</option>
<option value="122">&nbsp;|--吸塑灯箱</option>
<option value="123">&nbsp;|--超薄灯箱</option>
<option value="124">&nbsp;|--落地式灯箱</option>
<option value="125">&nbsp;|--软膜灯箱</option>
<option value="126">&nbsp;|--动态灯箱</option>
<option value="127">&nbsp;|--LED灯箱</option>
<option value="128">门头店招</option>
<option value="129">&nbsp;|--彩条店招</option>
<option value="130">&nbsp;|--模组店招</option>
<option value="131">&nbsp;|--拉布内光店招</option>
<option value="132">&nbsp;|--异形店招</option>
<option value="97">标牌配件</option>
<option value="98">东厂</option>
<option value="133">快展器材</option>
<option value="134">&nbsp;|--快展背景墙</option>
<option value="135">&nbsp;|--X展架</option>
<option value="136">&nbsp;|--易拉宝</option>
<option value="137">&nbsp;|--注水旗杆</option>
<option value="138">&nbsp;|--快展套装</option>
<option value="99">成品标牌</option>
<option value="139">展柜展架</option>
<option value="140">&nbsp;|--靠墙柜</option>
<option value="141">&nbsp;|--中岛柜</option>
<option value="142">&nbsp;|--平柜</option>
<option value="143">&nbsp;|--收银台</option>
<option value="144">&nbsp;|--挂架</option>
<option value="145">&nbsp;|--端架</option>
<option value="146">&nbsp;|--地台</option>
<option value="147">印刷</option>
<option value="148">&nbsp;|--名片</option>
<option value="149">&nbsp;|--宣传单</option>
<option value="150">&nbsp;|--画册</option>
<option value="151">&nbsp;|--手提袋</option>
<option value="152">&nbsp;|--台挂历</option>
<option value="153">促销用品</option>
<option value="154">&nbsp;|--吊旗</option>
<option value="155">&nbsp;|--太阳伞</option>
<option value="156">&nbsp;|--条幅横幅</option>
<option value="157">&nbsp;|--挂墙展板</option>
<option value="158">&nbsp;|--拱门气球</option>
<option value="159">&nbsp;|--礼品</option>
<option value="103">喷绘</option>
<option value="104">&nbsp;|--挂画</option>
<option value="105">&nbsp;|--灯箱画片</option>
<option value="106">&nbsp;|--高精图像片</option>
<option value="107">&nbsp;|--户外彩喷</option>
<option value="108">&nbsp;|--车身彩绘</option>
								</select>
			    			</td>
			    			<th class="c3">
			        			<input type="checkbox" name="cb_dep" id="cb_dep">
			        			部门
			        		</th>
			    			<td class="c3">
			        			<select name="dep" id="dep" onfocus="doAutoCheck(&#39;cb_dep&#39;);">
	                            	<option value="0">==请选择==</option>
	                            	
<option value="1">易凯管理员</option>
<option value="13">总经办</option>
<option value="22">&nbsp;|--财务</option>
<option value="14">新异店</option>
<option value="15">&nbsp;|--客服</option>
<option value="23">&nbsp;|--设计</option>
<option value="24">&nbsp;|--业务</option>
<option value="16">业务来源</option>
<option value="17">标识加工车间</option>
<option value="21">合作伙伴</option>
<option value="32">标识汇运营部</option>
<option value="33">财务部</option>
	                        	</select>
	                        </td>
						</tr>
						<tr>
							<th class="c1">
			        			<input type="checkbox" name="cb_bill_code" id="cb_bill_code">
			        			外协单号
			        		</th>
			        		<td class="c1">
			        			<input type="text" class="TextBox" maxlength="50" name="bill_code" id="bill_code" onfocus="doAutoCheck(&#39;cb_bill_code&#39;);" onkeyup="checkInput();" value="">
								<input type="hidden" id="hid_bill_code" value="">
			    			</td>
			    			<th class="c2">
			        			<input type="checkbox" name="cb_prod" id="cb_prod">
			        			材质
			        		</th>
			        		<td class="c2">
			        			<input type="text" class="TextBox" maxlength="50" name="prod" id="prod" onfocus="doAutoCheck(&#39;cb_prod&#39;);" onkeyup="checkInput();" value="">
								<input type="hidden" id="hid_prod" value="">
			    			</td>
			    			<th class="c3">&nbsp;</th>
			    			<td class="c3">&nbsp;</td>
						</tr>
						<tr>
							<th class="c1">
			        			<input type="checkbox" name="cb_coo_cont" id="cb_coo_cont">
			        			摘要
			        		</th>
			        		<td class="c1">
			        			<input type="text" class="TextBox" maxlength="50" name="coo_cont" id="coo_cont" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_coo_cont&#39;);" value="">
								<input type="hidden" id="hid_coo_cont" value="">
			    			</td>
			    			<th class="c2">
			        			<input type="checkbox" name="cb_content" id="cb_content">
			        			内容
			        		</th>
			        		<td class="c2">
			        			<input type="text" class="TextBox" maxlength="50" name="content" id="content" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_content&#39;);" value="">
								<input type="hidden" id="hid_content" value="">
			    			</td>
			    			<th class="c3">&nbsp;</th>
			    			<td class="c3">&nbsp;</td>
						</tr>
						<tr>
							<th class="c1">
			        			<input type="checkbox" name="cb_ts" id="cb_ts" checked="true">
	                        	账套
			        		</th>
			    			<td class="c1">
			        			<select name="ts_id" id="ts_id" onfocus="doAutoCheck(&#39;cb_ts&#39;);">
				    				<option value="0">==请选择账套==</option>
				    				
									<option value="1">新异</option>
									
									<option value="2" selected="">网络公司</option>
									
								</select>
			        		</td>
			        		<th class="c2">
			        			<input type="checkbox" name="cb_require" id="cb_require">
			        			制作要求
			        		</th>
			        		<td class="c2">
			        			<input type="text" class="TextBox" maxlength="50" name="require" id="require" onkeyup="checkInput();" onfocus="doAutoCheck(&#39;cb_require&#39;);" value="">
								<input type="hidden" id="hid_require" value="">
			    			</td>
			    			<th class="c3">&nbsp;</th>
			    			<td class="c3">&nbsp;</td>
						</tr>
					</tbody></table>
			    	<div class="OptionOrderBy">
	                	<input type="checkbox" name="cb_order" id="cb_order">
	                    	排序类型
	                    <select name="order_by" id="order_by" onfocus="doAutoCheck(&#39;cb_order&#39;);">
	                        <option value="">==请选择==</option>
					  		<option value="COOPER_DATE">外协日期</option>
					  		<option value="COST">金额</option>
					  		<option value="BILL_CODE">单号</option>
					  		<option value="CONTENT">摘要</option>
					  		<option value="EST_NAME">外协单位</option>
	                    </select>
	                    <select name="order_sc" id="order_sc" onfocus="doAutoCheck(&#39;cb_order&#39;);">
	                        <option value="ASC">升序</option>
	                        <option value="DESC">降序</option>
	                    </select>
	                    <span class="fr"><a href="javascript:;" id="lnkHiddenOption">隐藏查询选项</a></span>
	                </div>
			    </div>
			</div>
			
			<!-- 提示信息显示栏 -->
	        <div class="MsgBar">
	            
<table width="98%" border="0" cellpadding="0" cellspacing="0">
	<tbody><tr id="errorMsgTr" style="display:none">
	  <td>
	  	<div class="msg-error" id="errorMsgTd">
	  	
	  	</div>
	  </td>
	</tr>
</tbody></table>
	        </div>

			<!-- 上栏 分页、操作等 -->
			
	        <div class="TopToolBar">
	            <table class="ListNoteInfo" cellpadding="0" cellspacing="0">
	            	<tbody><tr>
	                	<td>
							<span>金额合计：0元</span>
							<span>面积合计：0.00平方米</span>
							<span>长度合计：0.00米&nbsp;0.00公分</span>
							<span>合同单数：0笔</span>
	                	</td>
	            	</tr>
	            </tbody></table>
			</div>
			
			

	      	<div class="table-list">
		        <table width="2290">
		          	<tbody><tr>
					  	<th width="100">外协单号</th>
						<th width="100">业务单号</th>
						<th width="180">客户名称</th>
						<th width="100">外协日期</th>
						<th width="180">外协单位</th>
						<th width="70">联系人</th>
						<th width="120">摘要</th>
						<th width="100">项目类型</th>
						<th width="120">内容</th>
						<th width="150">材质</th>
						<th width="150">规格</th>
						<th width="200">制作要求</th>
						<th width="60">单位</th>
						<th width="60">数量</th>
						<th width="60">单价</th>
						<th width="60">金额</th>
						<th width="120">备注</th>
						<th width="70">业务员</th>
						<th width="70">开单人</th>
						<th width="100">部门</th>
				  	</tr>
					
				</tbody></table>
			</div>
			
			<!-- 底栏 分页、操作等 -->
	        <div class="BottomToolBar ClearFix">
			    	
    <div class="table-bot">
    	
    	
    	 
    	  <img src="../images/but001.gif">
    	  <img src="../images/but002.gif">
    	    	
    	第 <input type="text" name="pageNumber" style="width:30px" value="0" onkeydown="javascript:doJump(this.value);" class="TextBox"> 页 
    	共0页
		
		
        <img src="../images/but003.gif">
        <img src="../images/but004.gif">
		
    </div>
	        </div>
			
		</div>
	</div>
</div>


<script type="text/javascript">
	function ChangeWindowSize( container, maxWidth ){
	    setTimeout( function(){
	        var w1 = document.documentElement.clientWidth-40;
	        if( w1>maxWidth ) w1 = maxWidth;
	        else if( w1<970 ) w1 = 960;
	        container.style.width = w1+'px';
	    }, 300 );
	}
	var IsAdvSearch = false;
	(function(){
		doInit();
	    var ListContainer = document.getElementById('ListContainer');
	    ChangeWindowSize( ListContainer, 2020 );    // 超过 1280 的最大 1260 ，不全部铺满
	
	    var lnkMoreOption   = document.getElementById('lnkMoreOption');
	    var lnkHiddenOption = document.getElementById('lnkHiddenOption');
	    lnkMoreOption.onclick = function(){
	    	IsAdvSearch = true;
	        document.getElementById('dvMoreOptionBox').style.display = 'block';
	        document.getElementById('cb_cooper_date').style.visibility = 'visible';
	        this.style.visibility = 'hidden';
	    };
	    lnkHiddenOption.onclick = function(){
	    	IsAdvSearch = false;
	        document.getElementById('dvMoreOptionBox').style.display = 'none';
	        document.getElementById('cb_cooper_date').style.visibility = 'hidden';
	        lnkMoreOption.style.visibility = 'visible';
	    };
	})();
</script>
</body></html>